<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>AQOS Console</title>
<style type="text/css">
body,input{ background:#000; font:bold 14px "Lucida Console","Courier New"; color:#CCC; line-height:15px; }
input { background:none; border:solid #FFF 1px; width:80%; height:15px; }
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
</head>

<body>
<script type="text/javascript">
$(function(){
function enter(e){
	if((e.keyCode==13)&&($(this).attr('disabled')!='')){
		$(this).removeAttr('active').hide();
		$tmp=undefined;
		try{ $tmp=window.top.eval($(this).val()); }catch(e){};
		$('body').append($(this).val()+'<br />'+$tmp+'<br />AQOS &gt; <input active/>');
		$('[active]').focus();
	}
};
$('body').append(window.top.$aqos+'<br />AQOS &gt; <input active/>');
$('[active]').live('keypress',enter);
$('[active]').focus();
});
</script>
</body>
</html>